package com.theaf.basemodule.common.condition;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author:songwenke
 * @Description:机构条件
 * @Date:create in 13:53 2018/2/9
 * @Modified By:
 **/
@Data
@ApiModel("机构查询条件")
public class OrganCondition implements Serializable{
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("类型")
    private String type;
    @ApiModelProperty("创建者")
    private String creater;
    @ApiModelProperty("更新者")
    private String updater;
    @ApiModelProperty("地区")
    private Long areaId;
    @ApiModelProperty(value = "是否只要启用", example= "true")
    private Boolean enabled = true;
    @ApiModelProperty(value="开始时间",example="2018-01-01")
    private String start;
    @ApiModelProperty(value="结束时间",example="2018-01-31")
    private String end;
    @ApiModelProperty("父ID")
    private Long pid;
    @ApiModelProperty(value="层数",example="2",required=true)
    private Integer levelSize;
}
